db = require './db'

db_buddhaeye = do ->
	{buddhaeye} = require '../config'
	option = buddhaeye[process.env['NODE_ENV']] || buddhaeye.test
	option.name = 'db'
	option.driver = 'mysql'
	new db.DbConnection option

module.exports = db_buddhaeye